Skip to content

Update CyberSource to 10.11.2#13

Open
StanislavSmetaninSSM wants to merge 1 commit intomainfrom
ssm/22845-refactor_cybersource_provider
Open

Update CyberSource to 10.11.2#13
StanislavSmetaninSSM wants to merge 1 commit intomainfrom
ssm/22845-refactor_cybersource_provider

Conversation

@StanislavSmetaninSSM
Copy link

@StanislavSmetaninSSM StanislavSmetaninSSM commented Jan 28, 2025

Replaced obsolete methods:
StartCheckout -> BeginCheckout, Redirect -> HandleRequest.
Used OutputResult everywhere according to our new behavior.

Refactored code
Moved API interactions to Service folder, with separate classes to deal with sending requests, getting responses etc.

Version updates.
Updated provider version to 10.11.2.
Target framework updated to net8.0
Added icon logo.

Templates
Added templates update provider and provider related templates.

UI.
Added new editor "Certificate password".
image
In the original provider in DW9 we somehow made an assumption that user will always use MerchantId as a password. This is not true. The CyberSource admin panel asks to enter the password when we create certificate, and there is nothing related with MerchantId.
So we need this field, otherwise the system could not read the certificate.

The task: https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/22845
Originally was created because of this bug: https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/22268

NetFramework version was changed to net 8.0
Changed the code according to current request model.
Added logo.
Added update provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant